﻿using System;

namespace 三式
{
    class Teller
    {
        public void VS(string playerName, string robotName)
        {
            Console.WriteLine("{0} VS {1}  对战", playerName, robotName);
        }
        public void Say(int Winner, string playerName, string robotName, string playerPunchName, string robotPunchName)
        {
            Console.WriteLine("选手   出拳");
            Console.WriteLine(playerName + " | " + playerPunchName);
            Console.WriteLine(robotName + " | " + robotPunchName);
            if (Winner == 1) { Console.WriteLine("都怪你,{0}这轮输了啦！", robotName); }
            else if (Winner == 2) { Console.WriteLine("嘻嘻，{0}这轮赢了！", robotName); }
            else if(Winner==3){ Console.WriteLine("居然平局了，真晦气！"); }
        }
        public void Over(string playerName, string robotName, int round,int deuce, int playerWin, int RobotWin)
        {
            Console.WriteLine("{0} VS {1}", playerName, robotName);
            Console.WriteLine("**************");
            Console.WriteLine("对战次数：{0}", round);
            Console.WriteLine("平局次数：{0}",deuce);
            Console.WriteLine();
            Console.WriteLine("姓名   胜场");
            Console.WriteLine();
            Console.WriteLine("{0}     {1}", playerName, playerWin);
            Console.WriteLine("{0}     {1}", robotName, RobotWin);
            Console.WriteLine("**************");
            if (playerWin > RobotWin) { Console.WriteLine("{0}赢了，芜湖！！！", playerName); }
            else if (playerWin < RobotWin) { Console.WriteLine("{0}赢了啦，我超勇的！", robotName); }
            else { Console.WriteLine("平局了，真晦气！"); }
        }
    }
}
